<?php
		$id = $this->session->userdata("user_data");
		$data['user_data']=$id;
		$data['onlinefriends']=$this->message_model->getOnlineFriend($id['uid']);
		$this->load->view('footer',$data);
		?>